home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / August 96 / Re ODFContainer question.1 < prev    next >
Encoding:
Internet Message Format  |  1996-08-21  |  1.3 KB  |  [TEXT/ttxt]

  1. Subject:     Re: ODFContainer question
  2. Sent:        8/21/96 5:04 PM
  3. Received:    8/21/96 4:21 PM
  4. From:        Scott Adler, sadler@spss.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. >
  9. >>I was trying out the ODFContainer example, and I noticed if I save two 
  10. >>ODF container documents, lets say:
  11. >>
  12. >> #1 that has 
  13. >>   ODFHello and an 
  14. >>   ODFNothing embedded in it 
  15. >>
  16. >>and #2 has an
  17. >>   ODFDraw embedded in it
  18. >>
  19. >>when I embed #1 into #2 I get one ODFContainer with all three embedded. I 
  20. >>expected to get an ODFContainer #2 with an ODFDraw and an ODFContainer 
  21. >>(#1) which had 2 embedded in it.
  22. >>
  23. >>Am I missing something, or is this behavior on purpose?
  24. >>
  25. >>-Scott Adler
  26. >>sadler@spss.com
  27. >
  28. >That's a normal behavior. By default a container should try to 
  29. >incorporate first not embed. This is the default behavior implemented in 
  30. >ODF. When dragging #1 in #2 you can press the Command key, a dialog will 
  31. >then let you embed instead of incorporate.
  32.  
  33. But what about the case of two similar embedding parts which are just a 
  34. bit different. For instance if I make NewODFContainer, and go to embed it 
  35. in ODFContainer (where NewODFContainer is just an ODFContainer with a few 
  36. tweaks). Does it know to incorporate?
  37.  
  38. -Scott Adler
  39. sadler@spss.com
  40.